/*
 * Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#define CONFIG_TEGRA2_KBC_PLAIN_KEYCODES_SEABOARD               \
        0,    0,  'w',  's',  'a',  'z',    0,    KEY_FN,       \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      '5',  '4',  'r',  'e',  'f',  'd',  'x',    0,            \
      '7',  '6',  't',  'h',  'g',  'v',  'c',  ' ',            \
      '9',  '8',  'u',  'y',  'j',  'n',  'b', '\\',            \
      '-',  '0',  'o',  'i',  'l',  'k',  ',',  'm',            \
        0,  '=',  ']', '\r',    0,    0,    0,    0,            \
        0,    0,    0,    0, KEY_SHIFT, KEY_SHIFT,    0,    0,  \
        0, 0, 0, 0, 0, KEY_RIGHTCTRL, 0, KEY_LEFTCTRL,          \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      '[',  'p', '\'',  ';',  '/',  '.',    0,    0,            \
        0,    0, 0x08,  '3',  '2',    0,    0,    0,            \
        0, 0x7F,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,  'q',    0,    0,  '1',    0,            \
     0x1B,  '`',    0, 0x09,    0,    0,    0,    0

#define CONFIG_TEGRA2_KBC_SHIFT_KEYCODES_SEABOARD               \
        0,    0,  'W',  'S',  'A',  'Z',    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      '%',  '$',  'R',  'E',  'F',  'D',  'X',    0,            \
      '&',  '^',  'T',  'H',  'G',  'V',  'C',  ' ',            \
      '(',  '*',  'U',  'Y',  'J',  'N',  'B',  '|',            \
      '_',  ')',  'O',  'I',  'L',  'K',  ',',  'M',            \
        0,  '+',  '}', '\r',    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      '{',  'P',  '"',  ':',  '?',  '>',    0,    0,            \
        0,    0, 0x08,  '#',  '@',    0,    0,    0,            \
        0, 0x7F,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,  'Q',    0,    0,  '!',    0,            \
     0x1B,  '~',    0, 0x09,    0,    0,    0,    0

#define CONFIG_TEGRA2_KBC_FUNCTION_KEYCODES_SEABOARD            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      '7',    0,    0,    0,    0,    0,    0,    0,            \
      '9',  '8',  '4',    0,  '1',    0,    0,    0,            \
        0,  '/',  '6',  '5',  '3',  '2',    0,  '0',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0, '\'',    0,  '-',  '+',  '.',    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,  '?',    0,    0,    0

#define CONFIG_TEGRA2_KBC_CTRL_KEYCODES_SEABOARD                \
        0,    0, 0x17, 0x13, 0x01, 0x1a,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0, 0x12, 0x05, 0x06, 0x04, 0x18,    0,            \
        0,    0, 0x14, 0x08, 0x07, 0x16, 0x03,    0,            \
        0,    0, 0x15, 0x19, 0x0a, 0x0e, 0x02,    0,            \
        0,    0, 0x0f, 0x09, 0x0c, 0x0b,    0, 0x0d,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0, 0x10,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0, 0x11,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0


#define CONFIG_TEGRA2_KBC_PLAIN_KEYCODES_CHROMEOS_1             \
        0, 0, KEY_LEFTCTRL, 0, KEY_RIGHTCTRL, 0, 0, 0,          \
        0, 0x1b, 0x09,  '`',  'a',  'z',  '1',  'q',            \
        0,    0,    0,    0,  'd',  'c',  '3',  'e',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      'b',  'g',  't',  '5',  'f',  'v',  '4',  'r',            \
        0,    0,    0,    0,  's',  'x',  '2',  'w',            \
        0,    0,  ']',    0,  'k',  ',',  '8',  'i',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      'n',  'h',  'y',  '6',  'j',  'm',  '7',  'u',            \
        0,    0,    0,    0,    0, KEY_SHIFT, 0, KEY_SHIFT,     \
      '=', '\'',  '[',  '-',  ';',  '/',  '0',  'p',            \
        0,    0,    0,    0,  'l',  '.',  '9',  'o',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0, 0x08,    0, '\\', '\r',  ' ',    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,

#define CONFIG_TEGRA2_KBC_SHIFT_KEYCODES_CHROMEOS_1             \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0, 0x1b, 0x09,  '~',  'A',  'Z',  '!',  'Q',            \
        0,    0,    0,    0,  'D',  'C',  '#',  'E',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      'B',  'G',  'T',  '%',  'F',  'V',  '$',  'R',            \
        0,    0,    0,    0,  'S',  'X',  '@',  'W',            \
        0,    0,  '}',    0,  'K',  '<',  '*',  'I',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
      'N',  'H',  'Y',  '^',  'J',  'M',  '&',  'U',            \
        0,    0,    0,    0,    0, KEY_SHIFT, 0, KEY_SHIFT,     \
      '+',  '"',  '{',  '_',  ':',  '?',  ')',  'P',            \
        0,    0,    0,    0,  'L',  '>',  '(',  'O',            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0, 0x08,    0,  '|', '\r',  ' ',    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,

#define CONFIG_TEGRA2_KBC_FUNCTION_KEYCODES_CHROMEOS_1          \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,

#define CONFIG_TEGRA2_KBC_CTRL_KEYCODES_CHROMEOS_1              \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0, 0x01, 0x1a,    0, 0x11,            \
        0,    0,    0,    0, 0x04, 0x03,    0, 0x05,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
     0x02, 0x07, 0x14,    0, 0x06, 0x16,    0, 0x12,            \
        0,    0,    0,    0, 0x13, 0x18,    0, 0x17,            \
        0,    0,    0,    0, 0x0b,    0,    0, 0x09,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
     0x0e, 0x08, 0x19,    0, 0x0a, 0x0d,    0, 0x15,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0, 0x10,            \
        0,    0,    0,    0, 0x0c,    0,    0, 0x0f,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,            \
        0,    0,    0,    0,    0,    0,    0,    0,
